package org.jeecg.modules.caiGgl.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.caiGgl.entity.HqCggl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 采购管理
 * @Author: jeecg-boot
 * @Date:   2020-06-17
 * @Version: V1.0
 */
public interface HqCgglMapper extends BaseMapper<HqCggl> {

    IPage<HqCggl> myApplyList(Page<HqCggl> page, @Param("user")LoginUser user, @Param("hqCggl")HqCggl hqCggl);

    IPage<HqCggl> myTodoTasks(Page<HqCggl> page, @Param("user")LoginUser user, @Param("hqCggl")HqCggl hqCggl);

    IPage<HqCggl> myDoneTasks(Page<HqCggl> page, @Param("user")LoginUser user, @Param("hqCggl")HqCggl hqCggl);

    List<Map<String, Object>> jisCaigzxl(@Param("startDate")String startDate, @Param("endDate")String endDate);
}
